package siestageek;

public class J05Ex36ComputeTime {
	 public static void main(String[]args){
		 //변수선언
		 int day2sec = 86400;  //하루를 초로 환산
		 int our2sec = 3600;   //1시간을 초로 환산
		 int min2sec = 60;     //1분을 초로 환산
		 String result = "";
		//시간계산
		result +="1234567890초는" + (1234567890 / day2sec) + "일입니다\n";
		result +="12345초는" + (12345 / our2sec) + "시간입니다";
		result +="67890초는" + (67890 / min2sec) + "분입니다";
	   //결과출력 
	   System.out.println(result);
	 }
}
